MIPS: make cache operation mode configurable
authorDaniel Schwierzeck <[email protected]>
Wed, 27 Jul 2011 11:22:38 +0000 (13:22 +0200)
committerShinya Kuribayashi <[email protected]>
Sun, 31 Jul 2011 14:26:41 +0000 (23:26 +0900)
commitab2a98b11716364bc5a8c43cdfa7fee176cda1d8
treef6d237d468eec036180a987fa99a8f58aa907e89
parent7185adb48ef1e5b0f05263a7f791de340ddddeb2
MIPS: make cache operation mode configurable

Currently the cache operation mode is hard-coded to
CONF_CM_CACHABLE_NONCOHERENT. This is not appropiate for CPUs or SOCs
which operate at a different mode.

This patch makes the cache operation mode configurable via board config.

Signed-off-by: Daniel Schwierzeck <[email protected]>
Acked-by: Thomas Langer <[email protected]>
Signed-off-by: Shinya Kuribayashi <[email protected]>
arch/mips/cpu/mips32/start.S